package longshu.data.controller;

import longshu.data.service.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * BaseController
 *
 * @author LongShu 2018/01/28
 */
@Component
public abstract class BaseController<S extends BaseService> {
    protected Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired(required = false)
    protected S service;

}
